<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private Template data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public Template getData(){
        return data;
    }

    public void setData(Template data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class Template implements Serializable{

    private long id; //id
    private long companyId; //多租户id
    private String name; //危险作业票名称
    private byte ticketType; //危险作业票类型。0.动火 1.受限空间 2.高处 3.吊装 4.断路 5.动土 6.用电 7.盲板 8.射线
    private long organizationId; //作业区域（部门id），多个id以逗号分割
    private String startTime; //预计作业开始时间
    private String endTime; //预计作业结束时间
    private byte status; //作业票当前状态。0.待提交 1.审批中 2.作业前检查 3.作业进行中 4.作业中止 5.作业结束
    private long creatorId; //作业创建人 / 申请人id
    private Object content; //各个模板细节
    private String createTime; //表的创建时间

    public long getId(){
        return id;
    }

    public void setId(long id){
        this.id = id;
    }

    public long getCompanyId(){
        return companyId;
    }

    public void setCompanyId(long companyId){
        this.companyId = companyId;
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public byte getTicketType(){
        return ticketType;
    }

    public void setTicketType(byte ticketType){
        this.ticketType = ticketType;
    }

    public long getOrganizationId(){
        return organizationId;
    }

    public void setOrganizationId(long organizationId){
        this.organizationId = organizationId;
    }

    public String getStartTime(){
        return startTime;
    }

    public void setStartTime(String startTime){
        this.startTime = startTime;
    }

    public String getEndTime(){
        return endTime;
    }

    public void setEndTime(String endTime){
        this.endTime = endTime;
    }

    public byte getStatus(){
        return status;
    }

    public void setStatus(byte status){
        this.status = status;
    }

    public long getCreatorId(){
        return creatorId;
    }

    public void setCreatorId(long creatorId){
        this.creatorId = creatorId;
    }

    public Object getContent(){
        return content;
    }

    public void setContent(Object content){
        this.content = content;
    }

    public String getCreateTime(){
        return createTime;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }

}
</pre>




<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>